package ext.tianma.model;

import java.sql.Blob;

import wt.fc.ObjectReference;
import wt.fc.WTObject;

import com.ptc.windchill.annotations.metadata.ColumnProperties;
import com.ptc.windchill.annotations.metadata.GenAsPersistable;
import com.ptc.windchill.annotations.metadata.GeneratedProperty;
import com.ptc.windchill.annotations.metadata.PropertyConstraints;

/**
 * 类名: APLQuantity </br>
 * 包名: ext.tianma.model
 * 描述: RDP物料变更数据
 * @author xucr
 * 创建时间: 2020年11月3日
 * 发布版本: V1.0
 */
@GenAsPersistable(superClass = WTObject.class, interfaces = {}, properties = {
	@GeneratedProperty(name = "persistable", type = ObjectReference.class, javaDoc = "windchill对象", 
		constraints = @PropertyConstraints(required = false)),
	@GeneratedProperty(name = "status", type = String.class, javaDoc = "状况", 
		columnProperties = @ColumnProperties(index = true), constraints = @PropertyConstraints(upperLimit = 50, required = false)),
	@GeneratedProperty(name = "rdpId", type = String.class, javaDoc = "rdpId", 
		columnProperties = @ColumnProperties(index = true), constraints = @PropertyConstraints(upperLimit = 50, required = false)),
	@GeneratedProperty(name = "changeInfo", type = Blob.class, javaDoc = "变更信息", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(required = false)),
	@GeneratedProperty(name = "module", type = String.class, javaDoc = "rdp功能模块", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(upperLimit = 100, required = false)),
	@GeneratedProperty(name = "owner", type = String.class, javaDoc = "责任人，RDP传输工号", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(upperLimit = 100, required = false)),
	@GeneratedProperty(name = "creator", type = String.class, javaDoc = "数据创建者，RDP传输工号", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(upperLimit = 100, required = false)),
	@GeneratedProperty(name = "str_1", type = String.class, javaDoc = "预留字段1", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(required = false)),
	@GeneratedProperty(name = "str_2", type = String.class, javaDoc = "预留字段2", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(required = false)),
	@GeneratedProperty(name = "str_3", type = String.class, javaDoc = "预留字段3", 
		columnProperties = @ColumnProperties(index = false), constraints = @PropertyConstraints(required = false))
	})
public class RDPChange extends _RDPChange{
	static final long serialVersionUID = 1;
	public static RDPChange newRDPChange()  {
		final RDPChange instance = new RDPChange();
		try {
			instance.initialize();
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
		return instance;
	}
}
